package com.sea.finance.service;


import com.sea.finance.entity.Fund;
import com.sea.finance.entity.Vt;
import org.apache.ibatis.annotations.Param;

import java.io.InputStream;
import java.util.List;
import java.util.Map;

/**
 * @author 陈鸿飞
 */
public interface VtService {



    void importDealSku(InputStream inputStream, String fileName) throws Exception;

    void importDealAmazonOrder(InputStream inputStream, String fileName) throws Exception;

    void importAmazonOrder(InputStream inputStream, String fileName) throws Exception;

    String uploadVtFile(String fileName,InputStream newPdfInputStream);

    Integer save(Vt vt);

    Integer reload();

    Integer updateFeeName();

    Integer updateFnSku();

    Integer updateListingName();

    List<Vt> findByDealSku(Vt vt);

    Integer usave(Vt vt);

    List<Map<String,Object>> findByReport(Vt vt);

    List<Map<String,Object>> findNullByReport(Vt vt);

    List<Map<String,Object>> findListingByReport(Vt vt);

    List<Vt> findByNonAmazon(Vt vt);

    String dealFile(Integer ids);

    Integer delete(String period, String shopName, String brandName, String countryName);

    Integer deleteTitle();

    Integer deleteUSPeriod(String countryName);

    Integer deletEUPeriod(String countryName);

    void deleteByNonAmazonOrder(String orderId);

    List<Vt> findByFeeName(String feeName);
}
